<div class="sc_body">
    <div class="sc_title sc_body_title">
        <h5>{$nodeInfo.title}</h5>
        <div class="sc_title_btn">
            <button class="layui-btn layui-btn-sm" data-url="{:U('index')}?spm={$spm}"><i class="layui-icon">&#xe654;</i> 数据备份</button>
        </div>
    </div>
    <div class="fadeInUp animated">
        <form action="{:U('export')}" id="export-form" class="layui-form">
            <table class="layui-table">
                <colgroup>
                    <col width="150">
                    <col width="80">
                    <col width="80">
                    <col width="120">
                    <col width="180">
                    <col width="120">
                </colgroup>
                <thead>
                    <tr>
                        <th>备份名称</th>
                        <th>卷数</th>
                        <th>压缩</th>
                        <th>数据大小</th>
                        <th>备份时间</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    {volist name="list" id="data"}
                        <tr>
                            <td>{$data.time|date='Ymd-His',###}</td>
                            <td>{$data.part}</td>
                            <td>{$data.compress}</td>
                            <td>{$data.size|format_bytes}</td>
                            <td>{$key}</td>
                            <td class="action">
                                <button data-down="{:U('download')}" data-time="{$data['time']}" class="layui-btn layui-btn-xs">下载</button>
                                <button data-del="{:U('del')}?spm={$spm}" data-time="{$data['time']}" class="layui-btn layui-btn-danger layui-btn-xs">删除</button>
                            </td>
                        </tr>
                    {/volist}
                </tbody>
            </table>
        </form>
    </div>
</div>
